using System.Collections;
using System.Collections.Generic;
using GameFramework.common;
using modules.home;
using UnityEngine;
using Event = GameFramework.events.Event;

public class HomeData : Singleton<HomeData>
{
    private int _count;

    public int Count
    {
        get => _count;
        set
        {
            _count = value;
            sendValueChanged();
        }
    }

    void sendValueChanged()
    {
        Event e = new HomeDataEvent();
        EventManager.Instance.dispatch(e);
    }
}
